From: Jan Tojnar Date: Mon, 18 Sep 2017 23:05:13 +0000 (+0200) Subject: build: Add missing dependency to run-js-test X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~751^2^2~100 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7cd37a4017d3317b10278fd65206ad6785d4d28f;p=gnome-shell.git build: Add missing dependency to run-js-test run-js-test requires girepository.h header file which is provided by gobject-introspection. gobject-introspection is required by gjs, another of our dependencies, so, usually, the header gets included by inheriting the cflags from there but some distros interpret pkg-config fields more strictly[1] so that will not be the case there. Listing direct dependencies explicitly is a good practice any way so let’s do that. [1]: https://bugs.freedesktop.org/show_bug.cgi?id=105572 https://bugzilla.gnome.org/show_bug.cgi?id=787864 https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1114 --- diff --git a/src/meson.build b/src/meson.build index 05bdb9bea..46680d5b4 100644 --- a/src/meson.build +++ b/src/meson.build @@ -268,7 +268,7 @@ executable('gnome-shell-perf-helper', 'shell-perf-helper.c', ) executable('run-js-test', 'run-js-test.c', - dependencies: [mutter_dep, gio_dep, gjs_dep], + dependencies: [mutter_dep, gio_dep, gi_dep, gjs_dep], include_directories: [conf_inc], link_with: libshell, build_rpath: mutter_typelibdir,